package com.voltmao.persistent.model;

import org.mybatis.annotation.Field;
import org.mybatis.annotation.Table;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * intent_user_again
 */
@Table(name="intent_user_again")
public class IntentUserAgain implements Serializable {
    /**
     * dataId
     */
    public static final String DATAID = "dataId";

    /**
     * dataId
     */
    @Field(columnName="data_id", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String dataId;

    /**
     * 关联的意向用户
     */
    public static final String FORINTENTUSER = "forIntentUser";

    /**
     * 关联的意向用户
     */
    @Field(columnName="for_intent_user", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String forIntentUser;

    /**
     * 跟进人
     */
    public static final String FORCORPEMPLOYESUSER = "forCorpEmployesUser";

    /**
     * 跟进人
     */
    @Field(columnName="for_corp_employes_user", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String forCorpEmployesUser;

    /**
     * 跟进描述
     */
    public static final String DES = "des";

    /**
     * 跟进描述
     */
    @Field(columnName="des", jdbcType="VARCHAR", javaType=String.class, length=2000, scale=0)
    private String des;

    /**
     * createDate
     */
    public static final String CREATEDATE = "createDate";

    /**
     * createDate
     */
    @Field(columnName="create_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date createDate;

    /**
     * updateDate
     */
    public static final String UPDATEDATE = "updateDate";

    /**
     * updateDate
     */
    @Field(columnName="update_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date updateDate;

    /**
     * isDel
     */
    public static final String ISDEL = "isDel";

    /**
     * isDel
     */
    @Field(columnName="is_del", jdbcType="INTEGER", javaType=Integer.class, length=10, scale=0)
    private Integer isDel;

    /**
     * 拜访日期
     */
    public static final String VISITDATE = "visitDate";

    /**
     * 拜访日期
     */
    @Field(columnName="visit_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date visitDate;

    private static final long serialVersionUID = 1L;

    /**
     * @return dataId
     *         dataId
     */
    public String getDataId() {
        return dataId;
    }

    /**
     * @param dataId
     *         dataId
     */
    public void setDataId(String dataId) {
        this.dataId = dataId == null ? null : dataId.trim();
    }

    /**
     * @return forIntentUser
     *         关联的意向用户
     */
    public String getForIntentUser() {
        return forIntentUser;
    }

    /**
     * @param forIntentUser
     *         关联的意向用户
     */
    public void setForIntentUser(String forIntentUser) {
        this.forIntentUser = forIntentUser == null ? null : forIntentUser.trim();
    }

    /**
     * @return forCorpEmployesUser
     *         跟进人
     */
    public String getForCorpEmployesUser() {
        return forCorpEmployesUser;
    }

    /**
     * @param forCorpEmployesUser
     *         跟进人
     */
    public void setForCorpEmployesUser(String forCorpEmployesUser) {
        this.forCorpEmployesUser = forCorpEmployesUser == null ? null : forCorpEmployesUser.trim();
    }

    /**
     * @return des
     *         跟进描述
     */
    public String getDes() {
        return des;
    }

    /**
     * @param des
     *         跟进描述
     */
    public void setDes(String des) {
        this.des = des == null ? null : des.trim();
    }

    /**
     * @return createDate
     *         createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     *         createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return updateDate
     *         updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     *         updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return isDel
     *         isDel
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * @param isDel
     *         isDel
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * @return visitDate
     *         拜访日期
     */
    public Date getVisitDate() {
        return visitDate;
    }

    /**
     * @param visitDate
     *         拜访日期
     */
    public void setVisitDate(Date visitDate) {
        this.visitDate = visitDate;
    }
}